package yl.hs.bmipfull.utils.datastate;

/*
 * SaleOrderState 销售订单状态
 * @category 销售管理
 * @author 谢景广
 * @date 2022-04-22
 */
public enum SaleOrderState {
    /**
     * 已撤销
     */
    Canceled((short) -1),
    /**
     * 草稿
     */
    Draft((short) 0),
    /**
     * 审核中
     */
    Submitted((short) 1),
    /**
     * 已审核
     */
    Reviewed((short) 2),

    Production((short) 3),

    Verified((short) 4),

    Completed((short) 5);
    //0草稿 1审核中 2已审核 3生产中 4已检验 5已完成
    public Short code;
    SaleOrderState(short code){
        this.code = code;
    }
}
